package com.atguigu.gulimail.ware.exception;

public class NoStockException extends RuntimeException{

    private Long skuId;

    public NoStockException(Long skuId){
        super("商品id："+skuId+"没有库存了！");
    }

    public Long getSkuId(){
        return this.skuId;
    }

    private void setSkuId(Long skuId){
        this.skuId=skuId;
    }


}
